<header class="page-header clearfix">
    <h4>
        <a ui-sref="k8s-pod-detail({name: vm.name, namesp: vm.namesp, kDbCode: vm.dbCode,
            srvName: vm.srvName, nodeIp: vm.nodeIp, from: vm.from})">
            <i class="fa fa-arrow-left"></i></a>控制台 {{::vm.name}}</h4>
    <ol class="breadcrumb">
        <li><a ng-href="#/k8s">容器集群</a></li>
        <li ng-if="::vm.srvName"><a ui-sref="k8s-service({kDbCode: vm.dbCode})">服务</a></li>
        <li ng-if="::vm.srvName">
            <a ui-sref="k8s-service-detail.pod({kDbCode: vm.dbCode, name: vm.srvName, namesp: vm.namesp})">服务详情</a>
        </li>
        <li ng-if="::vm.nodeIp"><a ui-sref="k8s-node.group({kDbCode: vm.dbCode})">宿主机</a></li>
        <li ng-if="::vm.nodeIp"><a ui-sref="k8s-node-detail.pod({kDbCode: vm.dbCode, ip:vm.nodeIp})">宿主机详情</a></li>
        <li><a ui-sref="k8s-pod-detail({name: vm.name, namesp: vm.namesp, kDbCode: vm.dbCode,
            srvName: vm.srvName, nodeIp: vm.nodeIp, from: vm.from})">Pod详情</a></li>
        <li class="active">命令控制台</li>
    </ol>
</header>
<section>
    <div id="xterm"></div>
</section>